package com.zelix;

import java.awt.*;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import javax.swing.*;

public class l4 extends k4
{

    p4 b;
    JLabel c;
    JLabel d;
    JLabel e;
    j0 f;
    private final String g[] = new String[8];
    public static final Color h;
    static String i[];
    static String j[];
    static Class k;
    static Class l;
    private static String z[];

    public l4(String s, String s1, String s2)
    {
        super(true);
        a();
        a(s, s1, s2);
    }

    static Class a(String s)
    {
        try
        {
            return Class.forName(s);
        }
        catch(ClassNotFoundException classnotfoundexception)
        {
            throw new NoClassDefFoundError(classnotfoundexception.getMessage());
        }
    }

    void a()
    {
        Class class1 = k == null ? (k = a("com.zelix.ez")) : k;
        Class aclass[] = new Class[0];
        Object obj = null;
        Class aclass1[] = new Class[1];
        aclass1[0] = l == null ? (l = a("java.lang.Object")) : l;
        Object obj1 = null;
        try
        {
            Method method = class1.getMethod("a", aclass);
            Method method1 = class1.getMethod("a", aclass1);
            if(((String)method.invoke(null, aclass)).equals("1aIbrE$z0aExwM71y"))
            {
                Object aobj[] = new Object[1];
                aobj[0] = new Integer(0);
                g[0] = (String)method1.invoke(null, aobj);
                aobj[0] = new Integer(1);
                g[1] = (String)method1.invoke(null, aobj);
                aobj[0] = new Integer(2);
                g[2] = (String)method1.invoke(null, aobj);
                aobj[0] = new Integer(3);
                g[3] = (String)method1.invoke(null, aobj);
                aobj[0] = new Integer(4);
                g[4] = (String)method1.invoke(null, aobj);
                aobj[0] = new Integer(5);
                g[5] = (String)method1.invoke(null, aobj);
                aobj[0] = new Integer(6);
                g[6] = (String)method1.invoke(null, aobj);
                aobj[0] = new Integer(7);
                g[7] = (String)method1.invoke(null, aobj);
            }
        }
        catch(NoSuchMethodException nosuchmethodexception) { }
        catch(IllegalAccessException illegalaccessexception) { }
        catch(InvocationTargetException invocationtargetexception) { }
    }

    public boolean a()
    {
        return b.a();
    }

    public void a(String s, String s1, String s2)
    {
        setFont(zo.b());
        f = new j0(this);
        setLayout(f);
        java.awt.Image image = getToolkit().getImage(getClass().getResource("1.png"));
        java.awt.Image image1 = getToolkit().getImage(getClass().getResource("1.gif"));
        b = new p4(image, image1);
        if(!b.a())
        {
            setBackground(h);
            setForeground(Color.black);
        }
        add(b, "imagePnl");
        c = new JLabel();
        add(c, "versionLbl");
        d = new JLabel();
        add(d, "copyrightLbl");
        e = new JLabel();
        add(e, "contactLbl");
        if(s != null)
        {
            c.setText(s);
            c.setHorizontalAlignment(0);
        }
        if(s1 != null)
        {
            d.setText(s1);
            d.setHorizontalAlignment(0);
        }
        if(s2 != null)
        {
            e.setText(s2);
            e.setHorizontalAlignment(0);
        }
        k4 k4_1 = new k4(false);
        add(k4_1, "licenseePnl");
        if(!b.a())
        {
            k4_1.setBackground(h);
            k4_1.setForeground(Color.black);
        }
        j0 j0_1 = new j0(k4_1);
        k4_1.setLayout(j0_1);
        JPanel jpanel = new JPanel();
        if(!b.a())
            jpanel.setBackground(h);
        k4_1.add(jpanel, "licenseeTextPnl");
        JPanel jpanel1 = new JPanel();
        if(!b.a())
            jpanel1.setBackground(h);
        jpanel.add(jpanel1);
        GridLayout gridlayout = new GridLayout(0, 1);
        jpanel1.setLayout(gridlayout);
        JPanel jpanel2 = new JPanel();
        if(!b.a())
            jpanel2.setBackground(h);
        jpanel.add(jpanel2);
        GridLayout gridlayout1 = new GridLayout(0, 1);
        jpanel2.setLayout(gridlayout1);
        JLabel jlabel = new JLabel(g[0]);
        JLabel jlabel1 = new JLabel(g[1]);
        JLabel jlabel2 = new JLabel(g[2]);
        String s3 = zo.a(ez.b(), ez.c(), ez.d(), this);
        JLabel jlabel3 = new JLabel(g[3] + " " + s3);
        JLabel jlabel4 = new JLabel(g[4]);
        JLabel jlabel5 = new JLabel(g[5]);
        JLabel jlabel6 = new JLabel(g[6]);
        JLabel jlabel7 = new JLabel(g[7]);
        jlabel1.setFont(getFont());
        jlabel3.setFont(getFont());
        jlabel5.setFont(getFont());
        jlabel7.setFont(getFont());
        jpanel1.add(jlabel);
        jpanel2.add(jlabel1);
        jpanel1.add(jlabel2);
        jpanel2.add(jlabel3);
        jpanel1.add(jlabel4);
        jpanel2.add(jlabel5);
        jpanel1.add(jlabel6);
        jpanel2.add(jlabel7);
        f.a(i);
        j0_1.a(j);
        v v1 = new v(this);
        c.addMouseListener(v1);
        d.addMouseListener(v1);
        e.addMouseListener(v1);
        jlabel.addMouseListener(v1);
        jlabel1.addMouseListener(v1);
        jlabel2.addMouseListener(v1);
        jlabel3.addMouseListener(v1);
        jlabel4.addMouseListener(v1);
        jlabel5.addMouseListener(v1);
        jlabel6.addMouseListener(v1);
        jlabel7.addMouseListener(v1);
        k4_1.addMouseListener(v1);
        jpanel.addMouseListener(v1);
        jpanel1.addMouseListener(v1);
        jpanel2.addMouseListener(v1);
    }

    private static char[] z(String str) {
        char ac[] = str.toCharArray();
        int clen = ac.length;
        if (clen >= 2)
            return ac;
        ac[0] ^= 0x22;
        return ac;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 5;
                    break;
                case 1:
                    key = 120;
                    break;
                case 2:
                    key = 43;
                    break;
                case 3:
                    key = 104;
                    break;
                default:
                    key = 34;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static 
    {
        z = new String[11];
        	z[0]="java.lang.Object";
        	z[1]="com.zelix.ez";
        	z[2]="1aIbrE$z0aExwM71y";
        	z[3]="contactLbl";
        	z[4]="licenseePnl";
        	z[5]="1.png";
        	z[6]="1.gif";
        	z[7]="licenseeTextPnl";
        	z[8]="imagePnl";
        	z[9]="copyrightLbl";
        	z[10]="versionLbl";
        	
        h = new Color(198, 198, 198);
        
        i = new String[17];
        	i[0]="centerX=container.width*50/100";
        	i[1]="imagePnl.centerX=centerX";
        	i[2]="imagePnl.top=container.top+10";
        	i[3]="imagePnl.width=264";
        	i[4]="imagePnl.height=60";
        	i[5]="versionLbl.centerX=centerX";
        	i[6]="versionLbl.top=imagePnl.bottom+5";
        	i[7]="copyrightLbl.centerX=centerX";
        	i[8]="copyrightLbl.top=versionLbl.bottom+5";
        	i[9]="copyrightLbl.width=copyrightLbl.defaultWidth+40";
        	i[10]="contactLbl.centerX=centerX";
        	i[11]="contactLbl.top=copyrightLbl.bottom+5";
        	i[12]="contactLbl.width=contactLbl.defaultWidth+25";
        	i[13]="licenseePnl.left=container.left+5";
        	i[14]="licenseePnl.right=container.right-5";
        	i[15]="licenseePnl.top=contactLbl.bottom+20";
        	i[16]="licenseePnl.bottom=container.bottom-5";
        	
        j = new String[3];
        	j[0]="licenseeTextPnl.top=2";
	j[1]="licenseeTextPnl.centerX=container.width*50/100";
	j[2]="container.defaultBottomPad=2";
     }
}